package com.partybuilding.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.partybuilding.annotation.DataScope;
import com.partybuilding.domain.ResponseResult;
import com.partybuilding.domain.entity.Usertable;
import com.partybuilding.domain.vo.UserCheckVo;

import java.util.List;

/**
 * @author wulala
 */
public interface UsertableService extends IService<Usertable> {

    ResponseResult writePartyTime();

    ResponseResult getAllUser(LambdaQueryWrapper<Usertable> queryWrapper);
    @DataScope()//用于限制权限范围
    ResponseResult getUser(Long id, LambdaQueryWrapper<Usertable> queryWrapper);

    ResponseResult uploadAllData(List<UserCheckVo> userCheckVos);

    ResponseResult upDateOneUser(Usertable usertable);

    ResponseResult setOrGetKey();
}
